package java46_oo4;

public class Test4 {

	public static void main(String[] args) {
		ScoreStat ss = new ScoreStat();
		Student s[] = { new Student(), new Student(), new Student() };
		s[0].height = 1.78F;
		s[1].height = 1.83F;
		s[2].height = 1.68F;

		float avg = ss.getAvgHeight(s);
		System.out.println("几名同学的平均身高是" + avg);
	}

}
